<table class="table">
    <foreach item="f" name="floors">
        <tr>
            <td>
                <a href="javascript:;" data-fid="{$f.id}" class="floor">{$f.name}</a>
                <a href="javascript:;" data-mid="{$mid}" data-fid="{$f.id}" class="show_add">
                    <i class="icon-plus"></i>
                </a>
                <a href="javascript:;" data-mid="{$mid}" data-fid="{$f.id}" class="phone">
                    <i class="icon-chevron-right"></i>
                </a>
            </td>
        </tr>
    </foreach>
</table>
<script type="text/javascript">
    $(function () {
        $('a.floor').floorBrandShow({url:"/Task/Phone/getBrands/fid/", floors:"#brands"});
        $('a.phone').editorPhone();
    });
</script>